home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Feb 88 / Compiler Diffs 2⁄16 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.8 KB  |  41 lines  |  [TEXT/GEOL]

  1. Item    2349237                         16-Feb-88        22:24
  2.  
  3. From:   D1002                           PEMD Ed Group, Dev, E Rosenberg
  4.  
  5. To:     MACAPP$                         MacApp Interest List
  6.  
  7. cc:     MACDTS                          Macintosh Developer Technical Supt.
  8.  
  9. Sub:    Compiler Differences
  10.  
  11. Thanks for the excellent response on our "Compiler Differences" link.
  12.  
  13. We've rooted them out.  One difference simply came from a logical error on our
  14. part when handling the gFreeWindowList , with and without a debug window
  15. present.  The second difference involved assigning a character to the
  16. first character of a 1 character string.  The debug version worked
  17. by making the assignment directly, followed by a very kludgy copy
  18. statement without which garbage occurred.  The optimized version
  19. luckly just produced a blank where the character shoud have been.  The
  20. problem was solved by first making a dummy assignment to the entire
  21. string(e.g. CharString:='A';) and then assigning the first character
  22. of this string as is needed (e.g. CharString[1]:= Chr(J+64);).  In short,
  23. the optimized version demanded that we follow the guidelines in the
  24. last sentence of  p.7-8 of the MPW Pascal manual.
  25.  
  26. To the developers of MacApp, I again want to express our thanks and admiration.
  27. The product continues to allow non-professional programmers, like ourselves,
  28. to concentrate less on the intracies of Macintosh programming and more
  29. on whatever unique software contribution we may make.  This was the first
  30. time we compiled an optomized version of our code.  The debug version
  31. is about 225K.  We were just delighted to see an optomized version of
  32. 106K with really impressive increases in speed and were again
  33. impressed with the quality and power of the MPW-MacApp programming environment.
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.